package cn.cdeden.knowledge.service;

import cn.cdeden.knowledge.domain.TreeNodeDirectory;
import cn.cdeden.knowledge.domain.dto.TreeNodeDto;
import cn.cdeden.knowledge.domain.dto.TreeNodeParam;
import io.undertow.util.BadRequestException;

import java.util.List;

public interface FilesTreeService {

    List<TreeNodeDto> getParentTreeNodeAll(String id, String fileType) throws BadRequestException;

    TreeNodeDirectory getNewParentTreeNodeAll(TreeNodeParam query) throws BadRequestException;
}
